package com.kpmg.datalake.schedule.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.kpmg.datalake.schedule.dao.ScheduleJobMapper;
import com.kpmg.datalake.schedule.model.ScheduleJob;
import com.kpmg.datalake.schedule.service.IScheduleJobService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 任务调度 服务实现类
 * </p>
 *
 * @author azhao6
 * @since 2018-08-09
 */
@Service
public class ScheduleJobServiceImpl extends ServiceImpl<ScheduleJobMapper, ScheduleJob> implements IScheduleJobService {

  /**
   * 获取任务调度允许执行的IP
   *
   * @return String
   */
  @Override
  public String selectScheduleAllowIp() {
    return super.baseMapper.selectScheduleAllowIp();
  }
}
